package com.cenwangkeji.zhihuimuye.ui.activity;

import android.os.Bundle;
import android.view.View;

import com.cenwangkeji.zhihuimuye.R;
import com.lws.basic.base.BaseActivity;
import com.lws.basic.utils.common.RxTime;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class SellDetailActivity extends BaseActivity {


    @Override
    public int setLayoutId() {
        return R.layout.activity_sell_detail;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick({R.id.tv_1, R.id.tv_2, R.id.tv_3})
    public void onViewClicked(View view ) {
showLoading();
        final RxTime time = new RxTime();
        time.interval(2000, new RxTime.RxAction() {
            @Override
            public void action(long number) {
                dismissLoading();
                time.cancel();
            }
        });
    }

}
